//
//  LoginApi.m
//  tingche
//
//  Created by 尤振宇 on 2017/6/26.
//  Copyright © 2017年 尤振宇. All rights reserved.
//

#import "LoginApi.h"

@implementation LoginApi
{
    NSString *_moblle;
    NSString *_parameter2;
//    LoginRequestType _type;
}

- (instancetype)initWithMoblle:(NSString *)moblle parameter:(NSString *)parameter
{
    self = [super init];
    if (self) {
        _moblle = moblle;
        _parameter2 = parameter;
    }
    return self;
}

-(NSDictionary<NSString *,NSString *> *)requestHeaderFieldValueDictionary
{
    return nil;
}

-(NSMutableArray<id<YTKRequestAccessory>> *)requestAccessories
{
    return nil;
}

-(NSString *)requestUrl
{
//    return @"counselor/login";
    return @"counselor/passwordLogin";
}

-(id)requestArgument
{
//    return @{@"verify_code":_parameter2,@"mobile":_moblle};
    return @{@"password":_parameter2,@"mobile":_moblle};
}

@end


